<?php
class Zend_View_Helper_ShowIndex {
    public function showIndex($view) {

    	$MultimediaFileSetAssoc = $view->MultimediaFileSetAssoc;
    	$str='';
        
        $str .= '<table>';
		$str .= '<tr>';
    	$str .= '<th>id</th>';
		$str .= '<th>file id</th>';	
		$str .= '<th>set id</th>';			
		$str .= '</tr>';

        
        foreach ($MultimediaFileSetAssoc as $MultimediaFileSetAssoc) {
        	$str .= '<tr>'; 	
            $str .='<td>'.$MultimediaFileSetAssoc->id.'</th>';
			$str .='<td>'.$MultimediaFileSetAssoc->file_id.'</th>';
			$str .='<td>'.$MultimediaFileSetAssoc->set_id.'</th>';
			
            $str .='</tr>';
        }
        
        $str .= '<table>';
        
        return $str; 

    }
}